@charset "utf-8";
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	font-family: roboto, AppleGothic, Arial, Helvetica, sans-serif;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
html{
	height:100%;
  -webkit-touch-callout:none;
  -webkit-user-select:none;
  -webkit-tap-highlight-color:rgba(0, 0, 0, 0);
  background:url(../images/main_bg@2x.png) repeat; 
}
body {
	height:100%;
	line-height: 1;
	-webkit-text-size-adjust:none;
	background:url(../images/header_bg.gif) repeat-x;
	-webkit-background-size:1px 88px;
	
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Main */
#wrap{
	width:100%;
	height:100%;
	max-width: 640px;
	margin:0 auto;
	position: relative;
}

h1{
	text-indent: -9999px;
	height: 48px;
	background:url(../images/h1_bg.png) 16px center no-repeat;
	-webkit-background-size:119px 25px;
}
#notice{
	overflow-y:hidden; 
	background: url(../images/not_icon.png) 16px center no-repeat;
	-webkit-background-size: 17px 17px;
}

#notice a{
	display:inline-block;
	line-height: 40px;
	height: 40px; 
	text-indent: 40px;  
	text-decoration: none; 
	color:#fff; size: 15px; 
	width: 90%; 
	white-space:nowrap; 
	overflow: hidden; 
	text-overflow: ellipsis;
}

#container{
	background: url(../images/visual.png) center 5px no-repeat;
	-webkit-background-size: 166px 142px
}

#container nav{
	padding:152px 16px 7px 16px;
}

#container p{
	height:65px;
	margin-bottom: 5px; 
	background-color:#fff;
	border-radius: 5px;
	-webkit-box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.1);
	-webkit-background-size: 216px 47px
}

#container nav a{
	display:block;
	height:65px;
	text-indent:-9999px;
	margin-right:10px; 
	-webkit-background-size: 32px 32px
}

.new_nav a{background: url(../images/new_icon.png) right center no-repeat;}
.best_nav a{background: url(../images/best_icon.png) right center no-repeat;}
.my_nav a{background: url(../images/my_icon.png) right center no-repeat;}

.new_nav{background: url(../images/new_txt.png) 10px center no-repeat;}
.best_nav{background: url(../images/best_txt.png) 10px center no-repeat;}
.my_nav{background: url(../images/my_txt.png) 10px center no-repeat;}



/* sub */

.lef{
	position: absolute;
	top:0;
	left:16px;
	z-index: 999
}

.rit{
	position: absolute;
	top:0;
	right: 16px;
	z-index: 999
}

.txt{
	position: absolute;
	bottom:0;
	z-index: 999;
	width:100%;
	height:48px;
	color:#fff;
}

.txt p{
	line-height:48px;
	color:#fff;
	text-align:center;
	z-index: 1000;
	position: relative;
	white-space:nowrap; 
	overflow: hidden; 
	text-overflow: ellipsis;
}

.txt .blackBg{
	position:absolute;
	z-index:900;
	top:0;
	left:0;
	width:100%;
	height:48px;
	background-color: black;
	opacity: 0.5;
}

.img{text-align: center; height:100%; 
	 line-height: 480px;}

.img img{
	width:95%;
	max-width:400px;
	height:auto;
    vertical-align: middle;
}


.btn{
	display: inline-block;
	height: 48px;
	width: 48px;
	text-indent: -9999px;
	-webkit-background-size: 34px 34px;
}

#count{width: 100%; line-height: 48px; text-align: center; color:#fff; height:48px; z-index:900; position: absolute; top:0; left:0}
.txt .btn{text-indent: 0}

.home{background: url(../images/home_icon.png) center center no-repeat;}
.share{background: url(../images/share_icon.png) center center no-repeat;}
.save{background: url(../images/save_icon.png) center center no-repeat;}

@media screen and (-webkit-device-pixel-ratio: 2) {
	body{background: url(../images/header_bg@2x.gif) repeat-x;}
	h1{background:url(../images/h1_bg@2x.png) 16px center no-repeat;}
	#notice{background: url(../images/not_icon@2x.png) 16px center no-repeat;}
	#container{background: url(../images/visual@2x.png) center 5px no-repeat;}
	.new_nav a{background: url(../images/new_icon@2x.png) right center no-repeat;}
	.best_nav a{background: url(../images/best_icon@2x.png) right center no-repeat;}
	.my_nav a{background: url(../images/my_icon@2x.png) right center no-repeat;}
	.new_nav{background: url(../images/new_txt@2x.png) 10px center no-repeat;}
	.best_nav{background: url(../images/best_txt@2x.png) 10px center no-repeat;}
	.my_nav{background: url(../images/my_txt@2x.png) 10px center no-repeat;}
	.home{background: url(../images/home_icon@2x.png) center center no-repeat;}
	.share{background: url(../images/share_icon@2x.png) center center no-repeat;}
	.save{background: url(../images/save_icon@2x.png) center center no-repeat;}
}
@media screen and (-webkit-device-pixel-ratio: 1.5) {
	body{background: url(../images/header_bg@2x.gif) repeat-x;}
	h1{background:url(../images/h1_bg@2x.png) 16px center no-repeat;}
	#notice{background: url(../images/not_icon@2x.png) 16px center no-repeat;}
	#container{background: url(../images/visual@2x.png) center 5px no-repeat;}
	.new_nav a{background: url(../images/new_icon@2x.png) right center no-repeat;}
	.best_nav a{background: url(../images/best_icon@2x.png) right center no-repeat;}
	.my_nav a{background: url(../images/my_icon@2x.png) right center no-repeat;}
	.new_nav{background: url(../images/new_txt@2x.png) 10px center no-repeat;}
	.best_nav{background: url(../images/best_txt@2x.png) 10px center no-repeat;}
	.my_nav{background: url(../images/my_txt@2x.png) 10px center no-repeat;}
	.home{background: url(../images/home_icon@2x.png) center center no-repeat;}
	.share{background: url(../images/share_icon@2x.png) center center no-repeat;}
	.save{background: url(../images/save_icon@2x.png) center center no-repeat;}
}
